package org.nobody.mallb2c.mallproduct.vo;

import lombok.Data;
import lombok.ToString;
import org.nobody.mallb2c.mallproduct.entity.SkuImagesEntity;
import org.nobody.mallb2c.mallproduct.entity.SkuInfoEntity;
import org.nobody.mallb2c.mallproduct.entity.SpuInfoDescEntity;

import java.util.List;

/**
 * @author 3489309323@qq.com
 * @create 2020-09-15-13:25
 */
@ToString
@Data
public class SkuItemVo {
  //1、sku基本信息获取 pms_sku_info
  SkuInfoEntity info;

  //2、sku的图片信息 pms_sku_info
  List<SkuImagesEntity> images;

  //3、获取spu的销售属性组合
  List<SkuItemSaleAttrVo> saleAttr;

  //4、获取spu的介绍
  SpuInfoDescEntity desp;

  //5、获取spu的规格参数
  List<SpuItemAttrGroupVo> groupAttrs;

  //6、当前商品的秒杀优惠信息
  SeckillInfoVo seckillInfo;

  boolean hasStock = true;
}
